﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using VanTaiData;
using VanTaiProperty;
namespace VanTaiBLL
{
    public class clsBusiness_TM_Usercs
    {
        public static clsController_TM_User cls = new clsController_TM_User();
        #region[Get-Data]
        public DataTable BindGridUser()
        {
            return cls.BindGridUser();
        }
        public DataTable BindGridUserDetail_Edit(int id)
        {
            return cls.BindGridUserDetail_Edit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertUser(VanTaiProperty.clsTMUserProperty obj)
        {
            return cls.InsertUser(obj);
        }
        public static bool UpdateUser(VanTaiProperty.clsTMUserProperty obj)
        {
            return cls.UpdateUser(obj);
        }
        public static bool UpdateStatusUser(VanTaiProperty.clsTMUserProperty obj)
        {
            return cls.UpdateStatusUser(obj);
        }
        public static bool DeleteUser(int id)
        {
            return cls.DeleteUser(id);
        }
        #endregion
    }
}
